Logic Operators by means of CNN


While intrinsically being analogical tools, CNN allow basic logic operators to be implemented onto a set of binary signals.
The templates used for performing AND, OR, NOT, and difference logic operators are characterized by the presence of only a non-zero central element.
Below, the templates and Bias values used in the demonstration contained in this CD are described

     0 0 0        0 0 0
A =  0 2 0    B = 0 1 0    I = -1
     0 0 0        0 0 0
And logic
 
     0 0 0        0 0 0
A =  0 2 0    B = 0 1 0    I = 1
     0 0 0        0 0 0
Or logic
 
     0 0 0        0  0  0
A =  0 1 0    B = 0 -2  0  I = 0
     0 0 0        0  0  0
Not logic
 
     0 0 0        0  0  0
A =  0 2 0    B = 0 -1  0  I = -1
     0 0 0        0  0  0
Difference logic
 

Here a simple implementation of logic operators.